<!DOCTYPE html>
<html>
	<head>
		<title>资讯管理</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<link rel="stylesheet" href="../../css/layui.css" media="all">
		<link rel="stylesheet" href="../../style/admin.css" media="all">
	</head>
	<style>
		body {
			width: 100%;
			/* height: 100%; */
			background-color: #f2f2f2;
		}
		.layui-table-cell{
		   height:38px;
		   line-height: 36px;
		}
		.img{
			height: 390px;
			width: 491px;
		}

		.container {
			background-color: #ffffff;
			margin: 1.25rem;
			padding: 0.5rem;
			height: 300px;
		}
		.selectpage .layui-form-item {
		    display: flex;
		    width: 250px;
		}
		
		.selectpage .layui-input-block
		.layui-form-item {
		    /* width: 200px; */
		    /* width: 268px; */
		    display: flex;
		}
		
		.layui-input-block input {
		    width: 200px;
		}
		
		.formdemo {
		    display: flex;
		}
		.layui-form-pane .layui-input-block {
		    margin-left: 50px;
		    /* left: -1px; */
		}
		
		.styleInput {
			margin-left:-100px;
		    width: 200px;
		}
		
		.labelname {
		    width: 150px;
		}
		
		.list .layui-select-title input,
		.popupinput {
		    width: 300px !important;
		    margin-bottom: 20px;
		}
	</style>
	<body>
		<div class="layui-fluid" style="padding-top: 10px;">
			<div class="layui-card">
				<div class="layui-card-header" style="font-size: 20px">资讯管理</div>
				<div class="layui-card-body" style="padding: 15px;">
					<div class="demoTable" style="margin-bottom: 10px;display: flex;">
						<form class="layui-form">
							<div class="layui-form-item">
								<div class="layui-inline col-sm-12">
									<label class="layui-form-label" style="width: 120px;">选择日期：</label>
								</div>
								<div class="layui-inline col-sm-12">
									<input type="text" style="width: 212px;" class="layui-input" id="date" placeholder="请选择时间" lay-filter="date">
								</div>
							</div>
						</form>
					</div>
					<table id="table" lay-filter="table"></table>

				</div>
			</div>
		</div>

		<div class="layui-form addPanel" style="display: none; margin-top: 20px;">
			<form class="layui-form addForm" lay-filter="addForm">
				<div class="layui-form-item">
					<div class="layui-inline">
						<label class="layui-form-label">标题：</label>
						<div class="layui-input-inline">
							<input type="text" id="title" name="title" placeholder="请输入资讯标题" class="layui-input" style="width: 530px;" />
						</div>
					</div>
				</div>
				<!-- <div class="layui-form-item">
					<label class="layui-form-label">描述：</label>
					<div class="layui-input-inline">
						<input type="text" id="text" name="desctiption" placeholder="请输入资讯描述" class="layui-input" style="width: 530px;" />
					</div>
				</div> -->
				<!-- <div class="layui-form-item">
					<label class="layui-form-label">封面：</label>
					<div class="layui-input-block">
						<input type="text" name="image" placeholder="请输入封面url" class="layui-input" style="width: 530px;" />
					</div>
				</div> -->
				<div class="layui-form-item">
					<label class="layui-form-label">正文：</label>
				</div>
				<div class="layui-form-item" style="margin-left: 30px;">
					<div id="editor" style="width: 98%;">
					</div>
				</div>
			</form>
		</div>

		<!-- <div class="layui-form logisticsContent" style="display: none;margin-top: 20px;margin-left: 58px;">
			<form class="layui-form logistics" lay-filter="logistics">
				<div class="layui-form-item" style="margin-top: 10px;">
					<label class="layui-form-label">物流单号：</label>
					<div class="layui-input-inline">
						<input type="text" name="logisticsNum" autocomplete="off" placeholder="请输入物流单号" class="layui-input">
					</div>
				</div>
			</form>
		</div> -->





		<script src="../../layui.js"></script>
		<script src="../../plugins/vue/vue.min.js"></script>
		<script src="../../plugins/jquery/jquery.min.js"></script>
		<script type="text/javascript" src="../../plugins/wangEditor/release/wangEditor.min.js"></script>
		<script src="../../js/news/newsManage.js"></script>
		<script src="../../js/utils/common.js"></script>
		<script src="../../js/utils/interceptor.js"></script>


		<script type="text/html">

		</script>


		<script id="img" type="text/html">
			<img style="height:35px;width:35px;line-height:50px!important;" lay-event="img" src="{{d.image}}">
		    </script>


		<script type="text/html" id="barDemo">
			{{#if (d.del_state==0) { }}
		                    <button type="button" class="layui-btn layui-btn-sm" lay-event="update">修改</button>
					         <button type="button" class="layui-btn layui-btn-danger layui-btn-sm" lay-event="delete">删除</button>
					        {{# }else if(d.del_state==1){ }}
							<a class="text">已删除</a>
							{{#     } }}
	   </script>

	</body>
</html>
